package com.jingdianjichi.auth.domain.convert;

import com.jingdianjichi.auth.domain.entity.AuthRolePermissionBO;
import com.jingdianjichi.auth.domain.entity.AuthUserBO;
import com.jingdianjichi.auth.infra.basic.entity.AuthRolePermission;
import com.jingdianjichi.auth.infra.basic.entity.AuthUser;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface AuthRolePermissionConverter {
    AuthRolePermissionConverter INSTANCE = Mappers.getMapper(AuthRolePermissionConverter.class);
    AuthRolePermission converterBoToAuthRolePermission(AuthRolePermissionBO authUserBO);
    AuthRolePermissionBO authRolePermissionToAuthRolePermissionDTO(AuthRolePermission authUser);
}
